﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类NET_AJ_JK_RESULT
     ///</summary>
     public class NET_AJ_JK_RESULT
     {
         private int __ID=0 ;
         private string __LWLSH=string.Empty ;
         private string __LWType=string.Empty ;
         private string __JKName=string.Empty ;
         private string __SendInfo=string.Empty ;
         private string __RevcInfo=string.Empty ;
         private string __IsSuc=string.Empty ;
         private DateTime? __LogTime=null ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public NET_AJ_JK_RESULT()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("LWLSH",false);
             this.__Changed.Add("LWType",false);
             this.__Changed.Add("JKName",false);
             this.__Changed.Add("SendInfo",false);
             this.__Changed.Add("RevcInfo",false);
             this.__Changed.Add("IsSuc",false);
             this.__Changed.Add("LogTime",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__LWLSH =string.Empty;
             this.__LWType =string.Empty;
             this.__JKName =string.Empty;
             this.__SendInfo =string.Empty;
             this.__RevcInfo =string.Empty;
             this.__IsSuc =string.Empty;
             this.__LogTime =null;
             this.__Changed["ID"] = false;
             this.__Changed["LWLSH"] = false;
             this.__Changed["LWType"] = false;
             this.__Changed["JKName"] = false;
             this.__Changed["SendInfo"] = false;
             this.__Changed["RevcInfo"] = false;
             this.__Changed["IsSuc"] = false;
             this.__Changed["LogTime"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[LWLSH]的数据
         /// </summary>
         public string LWLSH
         {
              set{ __LWLSH = value.Replace("'","’"); __Changed["LWLSH"] = true;}
              get{return __LWLSH;}
         }
         /// <summary>
         ///设置或获取类中的[LWType]的数据
         /// </summary>
         public string LWType
         {
              set{ __LWType = value.Replace("'","’"); __Changed["LWType"] = true;}
              get{return __LWType;}
         }
         /// <summary>
         ///设置或获取类中的[JKName]的数据
         /// </summary>
         public string JKName
         {
              set{ __JKName = value.Replace("'","’"); __Changed["JKName"] = true;}
              get{return __JKName;}
         }
         /// <summary>
         ///设置或获取类中的[SendInfo]的数据
         /// </summary>
         public string SendInfo
         {
              set{ __SendInfo = value.Replace("'","’"); __Changed["SendInfo"] = true;}
              get{return __SendInfo;}
         }
         /// <summary>
         ///设置或获取类中的[RevcInfo]的数据
         /// </summary>
         public string RevcInfo
         {
              set{ __RevcInfo = value.Replace("'","’"); __Changed["RevcInfo"] = true;}
              get{return __RevcInfo;}
         }
         /// <summary>
         ///设置或获取类中的[IsSuc]的数据
         /// </summary>
         public string IsSuc
         {
              set{ __IsSuc = value.Replace("'","’"); __Changed["IsSuc"] = true;}
              get{return __IsSuc;}
         }
         /// <summary>
         ///设置或获取类中的[LogTime]的数据
         /// </summary>
         public DateTime? LogTime
         {
              set{ __LogTime = value; __Changed["LogTime"] = true;}
              get{return __LogTime;}
         }
    }
}
